Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexity

نویسندگان

چکیده

Abstract This paper analyzes three formal models of Transformer encoders that differ in the form their self-attention mechanism: unique hard attention (UHAT); generalized (GUHAT), which generalizes UHAT; and averaging (AHAT). We show UHAT GUHAT Transformers, viewed as string acceptors, can only recognize languages complexity class AC0, recognizable by families Boolean circuits constant depth polynomial size. upper bound subsumes Hahn’s (2020) results cannot DYCK or PARITY language, since those are outside AC0 (Furst et al., 1984). In contrast, non-AC0 MAJORITY DYCK-1 AHAT networks, implying cannot.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Approach to Formal Language Theory by Kolmogorov Complexity

We present a new approach to formal language theory using Kolmogorov complexity. The main results presented here are an alternative for pumping lemma(s), a new characterization for regular languages, and a new method to separate deterministic context-free languages and nondeterministic context-free languages. The use of the new ‘incompressibility arguments’ is illustrated by many examples. The ...

متن کامل

Programming Language Expressiveness and Circuit Complexity

This paper is a continuation of the work begun in 5] on establishing relative intensional expressiveness results for programming languages. Language L 1 is intensionally more expressive than L 2 , if L 1 can compute all the functions L 2 can, with at least the same asymptotic complexity. The question we address is: Does nondeterministic parallelism add intensional expressiveness? We compare det...

متن کامل

An implementable formal language for hard real-time systems

A real-time computer system may be demanded not only to produce correct results, but also to produce these results at the correct time. If high levels of assurance are required that such requirements are met, then standard veri cation techniques, such as testing, may not be adequate. In this case, more rigorous techniques for demonstrating correctness are required, and formal (i.e. mathematical...

متن کامل

Coreless Printed Circuit Board ( Pcb ) Transformers —

© 2000 IEEE. Information contained in this newsletter may be copied without permission provided that the copies are not made or distributed for direct commercial advantage, and the title of the publication and its date appear. A bstract – In this article, the fundamental concept, characteristics and application potentials of coreless printed-circuit-board (PCB) transformers are described. Corel...

متن کامل

Formal Theories of Language Acquisition: Practical and Theoretical Perspectives

Learning Theory is the study of systems that implement functions from ev ident ia l states to theor ies . The theoret ica l framework developed in the theory makes possible the comparison of classes of algorithms which embody d i s t i n c t learning strategies along a var ie ty of dimensions. Such comparisons y ie ld valuable information to those concerned with inference problems in Cognit ive...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Transactions of the Association for Computational Linguistics

سال: 2022

ISSN: ['2307-387X']

DOI: https://doi.org/10.1162/tacl_a_00490